<template>
  <div class="philanthropy-details-container">
    <div v-html="db"></div>
  </div>
</template>

<script>
export default {
  data () {
    return {
      db: null
    }
  },
  created () {
    this.getContent()
  },
  methods: {
    async getContent () {
      const result = await this.$fetchGet('/home/info/view', {
        id: this.$route.query.id
      })
      this.db = result.data.db.content
      console.log(result)
    }
  }
}
</script>

<style>

</style>